home *** CD-ROM | disk | FTP | other *** search
- Appendix 2:
-
-
-
- 4D-BBS ARexx Command List
-
-
- All ARexx commands are run asyncronously while the BBS is running. Most
- commands, but not all, return something.
-
- The default 4D-BBS ARexx port is "4D-BBS0", but definable through the /a$
- command line parameter.
-
- ($ is a string, # is an integer number)
-
-
- Command Description
- ------------- ------------------------------------------------------------
-
- message $ Send $ to both the main screen and the serial port followed
- transmit $ by a line feed/carriage return.
- print $
-
- sendstring $ Send $ to both the main screen and the serial port.
- send $
- msg $
-
- sendmodem $ Send $ to just the serial, no main screen output.
-
- screenout $ Send $ to main screen only
-
- sendstatus $ Send $ to the status window, no serial/main output.
-
- prompt $ Send $, read in a string from keyboard and serial.
- query $
-
- hotkey $ Send $, Read in one character keyboard/serial.
- getchar $
-
- query Y Will return Y on a return else keypress
- query N will return N on a return else keypress
-
- hangup Immediatley stop & hangup user
-
- readfile $ Send $ file to both screen and serial.
- sendfile $
-
- readgra $ Send $ file, but append .ascii/.ansi depending on mode.
-
- cls Send a clear screen
-
- exit When in ARexx door server mode, tells 4D-BBS door is
- shutdown finished, and to continue.
- goodbye
- quit
-
- getvar # User/system information:
-
- 1: Name
- 2: ""
- 3: ""
- 4: City (City, State/Country)
- 5: State ("")
- 6: ""
- 7: Telephone
- 8: Ansi/Ascii Modem (0=Ascii, >0 = Ansi)
- 9: ""
- 10: ""
- 14: BBS: Directory
- 15: Doors: Directory
- 16: TEXT: Directory
-
-
- getuser # User/system information:
-
- 1: Name
- 2: Password
- 3: High Password ("")
- 4: City (C, S/C)
- 5: State ("")
- 6: Street ("")
- 7: "Extra"
- 8: "Extra"
- 9: "Extra"
- 10: Phone
- 11: Last Call (long int)
- 12: Sysop Comments ("")
- 13: Main Menu Number (Text: Dir)
- 14: Reserved ("")
- 15: Flags (0)
- 16: Access Level ("1")
-
- 19: Clear Screen Code? (Not Implemented)
-
-
- userinfo # User information:
-
- a: Name
- b: Location (c, s/c)
- c: Password
- p: Calls
- w: Real Name
- x: ansi ("ON" or "OFF")
- v: Rows
- m: Time Left
- n: Time per call
-
- 0: Set User access to new
- 1: Set User access to member
- 2: Set User access to sysop
- 3: Set User access to no access
-
- 9: Validate use to member access
-
-
- systeminfo # User/system information:
-
- a: Name
- i: Data ("YYMMDD")
- j: Time ("HHMMSS")
- m: Time Left
- n: Time Limit
-
-
- getsvar # Get user information
-
- 1: Name
- 2: Password
- 3: ""
- 4: Location (c, s/c)
- 7: Doors: Directory
- 8: BBS: Directory
- 9: Date ("YYMMDD")
-
-
- name Returns users name logged on the BBS.
-
- continue prompts & waits for a key press.
-
- checkabort checks for input by user & returns the keypress or NULL
- checkforkey
-
- waitchar # # [seconds] [microseconds] Will wait the specified time for a
- keypress. Returns the keypress or TIMED
-
- emulation Returns ASCII or ANSI
-
- checkcarrier Returns the status of the modem's Carrier Detect signal.
-
- bufferflush Clear the serial i/o buffer.
-
- addtime # Add (or subtract if negative) # from user's on-line time.
-
- resetmodem Send BBS init string to modem.
-
- version Current version of the BBS in "4D-BBS V#.##xx" format.
- bbs
-
- menu $ Execute a 4D-BBS Menu Command.
-
- baud # Change baudrate to #.
-
- loaduser $ Load user $ into the curruser structure.
- RC = 1 if successful.
-
- saveuser $ Save user in curruser structure to $.
- RC = 1 if successful.
-
- saydef # Will print line # from the def_say.t file
-
- changescreen # Manipulates the screens and windows of 4D-BBS.
- 1-4D-BBS To Front 16-Workbench to Front
- 2-4D-BBS To Back 16-Workbench to Back
-
- logged Will return REMOTE or LOCAL, or NOTLOGGED
-
- logon # Invokes a call to the logon function.
- 1-Local 2-Remote
-
- boardsopen # Open message board #
-
- transopen # Open file section #
-
- reloadboards $ Reload config file for the Boards
-
- reloadfiles $ Reload config file for the Files
-
- reloadsystem Reload system defaults
-
- reloadall Reload all config files
-
- readconfigs Reload config files. Boards, Systems, and dirs.
-
- waitscreen Display the Wait Screen.
-
- waitstats Display the Status Window.
-
- systemstatus Return the system status
-
- sysinit Intialize the system Parameters.
-
- checkparam $ Check for single character parameter. RESULT = parameter,
- TRUE if Param, No string, and FALSE if no parameter.
-
- sendstatus $ Write to the status window
-
- messqueue $ 'queue' a message to a user
-
- rexxcommand $ Will open a output window & send the command to ARexx
-
- rexxscript $ Will open a output window & run the script
-
- spawn $ Will execute a ARexx script with out an output window
-
-
-